@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="noticeInfoForm">

			<input type="hidden" id="id" value="">

			<div class="row">
				<div class="col-sm-12">
					<div class="form-group">
						<label class="col-sm-1 control-label">标题</label>
						<div class="col-sm-11">
							<input class="form-control" id="title" name="title" type="text">

						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-1 control-label">类型</label>
						<div class="col-sm-11">
							<select id="type" name="type"
								style="width: 200px; height: 30px; line-height: 30px;">
								@for(es in noticeTypes){
								<option value="${es.id}">${es.text}</option>
								@}
							</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-1 control-label">内容</label>
						<div class="col-sm-11">
							<div id="editor" class="editorHeight"></div>
						</div>
					</div>
				</div>
			</div>

			<div class="row btn-group-m-t"><#button btnCss="info" name="提交"
				id="ensure" icon="fa-check" clickFun="NoticeInfoDlg.addSubmit()"/>
				<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
				clickFun="NoticeInfoDlg.close()"/></div>
		</div>

	</div>
</div>
<script type="text/javascript"
	src="//unpkg.com/wangeditor/release/wangEditor.min.js"></script>
<script src="${ctxPath}/static/modular/system/notice/noticeInfo.js"></script>
@}
